inspector: ensure controller is a GtkGesture
authorChristian Hergert <chergert@redhat.com>
Sun, 20 Nov 2016 23:40:10 +0000 (15:40 -0800)
committerChristian Hergert <chergert@redhat.com>
Wed, 23 Nov 2016 22:03:13 +0000 (14:03 -0800)
commitc14c9aca34534d02cb5dc78f8f404da6f25a4bac
tree377caf031a5c6fc602425963897ef4cac8114172
parent10a7c65f47a1d87c9d7650ca09cc90c15d9f0775
inspector: ensure controller is a GtkGesture

While GtkEventController implementations today are all GtkGesture, it is
possible to create a GtkEventController manually. This is an extrac check
to ensure we only add gestures to the list.

https://bugzilla.gnome.org/show_bug.cgi?id=774760
gtk/inspector/gestures.c